package com.songcha.library_business.proxy.main

import org.greenrobot.eventbus.EventBus

class ToHomeEvent {
}

class ToMyBookShelfEvent {
}

class HideBottomNavigationEvent (val isHide:Boolean){
}

class MainEventProxy {
    companion object{
        @JvmStatic
        fun postToMyBookShelfEvent(){
            EventBus.getDefault().post(ToMyBookShelfEvent())
        }

        @JvmStatic
        fun postHideBottomNavigationEvent(isHide:Boolean){
            EventBus.getDefault().post(HideBottomNavigationEvent(isHide))
        }

        @JvmStatic
        fun postToHomeEvent(){
            EventBus.getDefault().post(ToHomeEvent())
        }
    }

}